class Contact implements Serializable{

  static contstraints = {
    firstName(blank: false, minLength: 4, maxLength: 15)
    lastName(blank: false, minLength: 4, maxLength: 25)
    address(blank:false)
    city(blank:false)
    state(blank: false, length: 2)
    zipCode(blank: false, minLength: 5, maxLength: 10)
  }

  String firstName
  String lastName
  String address
  String city
  String state
  String zipCode

  String toString() {
    return firstName + " " + lastName
  }

}
